<template>
  <div class="dlg" v-if="isShow">
    <div class="dlg-inner">
      <div class="dlg-hd cf">
        <span class="fl fs-2">请选择</span>
      </div>
      <div class="dlg-bd">
        <slot></slot>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    isShow: [Boolean]
  }
}
</script>

<style scoped lang="less">
.dlg {
  position: fixed;
  background-color: rgba(0,0,0,.2);
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  &-inner {
    background-color: white;
    width: 100%;
    height: 100%;
  }
}
</style>
